package fhp.hlhj.giantfold.presenter

import fhp.hlhj.giantfold.interfaces.IVersion
import fhp.hlhj.giantfold.javaBean.VersionBean
import fhp.hlhj.giantfold.module.VersionModule

/**
 * Created by Administrator on 2018\2\23 0023.
 */
class VersionPresenter(private val iVersion: IVersion) : VersionModule.OnVersionResp {
    override fun showLoading() {
    }

    override fun onResp(t: VersionBean) {
        iVersion.getVersion(t)
    }

    private val module=VersionModule()

    fun getVersion(){
        module.getVersion(this)
    }

}